package com.retoc.oawx.service;

import com.retoc.oawx.domain.Evection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author retoc
* @description 针对表【tb_evection】的数据库操作Service
* @createDate 2022-06-23 18:10:02
*/
public interface EvectionService extends IService<Evection> {

    int createEvection(Evection evection);

    Evection selectEvectionByInstanceId(String instanceId);

    ArrayList<HashMap> selectEvectionListByCreator(HashMap map);

    ArrayList<HashMap> selectOldEvectionListByCreator(HashMap map);

    void approveEvectionByInstanceId(String instanceId);

    HashMap selectEvectionById(Integer id);

    Evection selectEvectionById1(Integer id);

    int deleteByid(Integer id);

    int updateEvection(Evection evection);
}
